package cn.gcyl.module.biz.controller.admin.columntype.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.gcyl.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.gcyl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 栏目类型分页 Request VO")
@Data
public class ColumnTypePageReqVO extends PageParam {

    @Schema(description = "栏目")
    private String columns;

    @Schema(description = "栏目名称", example = "王五")
    private String columnName;

    @Schema(description = "非会员是都查看（0可查看 1不可查看）", example = "2")
    private Integer status;

    @Schema(description = "所属分类")
    private String category;

    @Schema(description = "报名字段")
    private String registrationFields;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}